Rust bindings for runc CLI
A crate for consuming the runc binary in your Rust applications, similar to go-runc for Go. This crate is based on archived rust-runc.
Usage
Both sync/async version is available.
You can build runc client with RuncConfig
in method chaining style.
Call build()
or build_async()
to get client.
Note that async client depends on tokio, then please use it on tokio runtime.
use runc;
async
Limitations
- Supported commands are only:
- create
- start
- state
- kill
- delete
- Exec is not available in
RuncAsyncClient
now. - Console utilites are not available
- see Go version